package com.bw.service;

import com.bw.domain.Role;
import com.bw.domain.TbMenu;

import java.util.List;

/**
 * @Author: TaoShiHao
 * @Date: 2025/3/13 10:02
 * @Description:
 **/
public interface RoleService {
    List<TbMenu> listMenu();

    boolean addOrUpdate(Role role, String menuIds);

    Role checkRoleName(String roleName);

    List<Integer> getMenuIdByRoleId(Integer id);
}
